Pin<T>(T[],Action<IntPtr>) Method
In This Topic
Pins the specified source and call an action with the pinned pointer.
Syntax
'Declaration
Public Overloads Shared Sub Pin(Of As {New, Struct})( _
ByVal () As , _
ByVal As System.Action(Of IntPtr) _
)
public static void Pin<>(
[] ,
System.Action<IntPtr>
)
where T: new(), struct
Parameters
- source
- The source array.
- pinAction
- The pin action to perform on the pinned pointer.
Type Parameters
- T
- The type of the structure to pin.
See Also